package com.cgwx.common.enums;


import com.fasterxml.jackson.annotation.JsonValue;

public enum ExperimentStatus implements InfoEnum{
    READY("READY","未完成"),
    FINISH("FINISH","已完成"),
    CANCEL("CANCEL","已取消"),
    WAIT_FOR_CHECK("WAIT_FOR_CHECK","待验收")
    ;
    private String code;
    private String info;

    public String getCode() {
        return code;
    }

    @JsonValue
    public String getInfo() {
        return info;
    }

    ExperimentStatus(String code, String info) {
        this.code = code;
        this.info = info;
    }


    @Override
    public String getSelfCode() {
        return this.code;
    }

    @Override
    public String getSelfInfo() {
        return this.info;
    }
}
